from django import forms

from hr.models import Resume

# 简历表单类
class ResumeForm(forms.ModelForm):

    class Meta:
        # 定义Form类对应的Model类
        model = Resume

        # fields = '__all__'
        # 排除不需要验证的属性
        exclude = ('c_time', 'u_time', 'user')